package com.example.ktapplication.state

import com.example.ktapplication.bean.HomeArticleBean

sealed class ArticleState {
    //成功
    data class OnSuccess(var article: HomeArticleBean?) : ArticleState()
    //失败
    data class OnError(var exception: Throwable?) : ArticleState()
}